package scau.erps.entity;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/** 
 * 产品实体类
 * @author outsider
 * 
 */
@Table("Product")
public class Product {
	@Column
	@Id 
	private int id;  
	@Column
	private int team_Id;
	@Column
	private String product;  //产品类型 Beryl、Crystal、Ruby、Sapphire
	@Column
	private int lineNo; //所属生产线号码
	@Column
	private String lineType;     //生产线类型 手工线、半自动、全自动、柔性
	@Column
	private String manufacturingTime;//投产日期
	@Column
	private String completeTime;//完成日期
	@Column
	private int cost;  //单个产品成本
	@Column
	private String status; //状态 在制品、成品、零件、已交货
	public Product(int team_Id, String product, int lineNo,
			String lineType, String manufacturingTime, String completeTime,
			int cost, String status) {
		super();
		this.team_Id = team_Id;
		this.product = product;
		this.lineNo = lineNo;
		this.lineType = lineType;
		this.manufacturingTime = manufacturingTime;
		this.completeTime = completeTime;
		this.cost = cost;
		this.status = status;
	}
	public Product() {
		super();
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getTeam_Id() {
		return team_Id;
	}
	public void setTeam_Id(int team_Id) {
		this.team_Id = team_Id;
	}
	public String getProduct() {
		return product;
	}
	public void setProduct(String product) {
		this.product = product;
	}
	public int getLineNo() {
		return lineNo;
	}
	public void setLineNo(int lineNo) {
		this.lineNo = lineNo;
	}
	public String getLineType() {
		return lineType;
	}
	public void setLineType(String lineType) {
		this.lineType = lineType;
	}
	public String getManufacturingTime() {
		return manufacturingTime;
	}
	public void setManufacturingTime(String manufacturingTime) {
		this.manufacturingTime = manufacturingTime;
	}
	public String getCompleteTime() {
		return completeTime;
	}
	public void setCompleteTime(String completeTime) {
		this.completeTime = completeTime;
	}
	public int getCost() {
		return cost;
	}
	public void setCost(int cost) {
		this.cost = cost;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
}
